package com.awifi.com.thread.pool;

/**
 * @description: ToDo
 * @author: marin
 * @time: 2020/6/29 18:19
 */
public class ThreadPool implements Runnable{

    @Override
    public void run() {
            try {
                Thread.sleep(1000);
            }catch (InterruptedException e) {
                e.printStackTrace();
            }
            for (int i=0;i<10;i++){
                System.out.println(Thread.currentThread().getName()+"创建了一个线程");
            }
        }
}
